package cn.tedu._05article.pojo.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.NonNull;

@Data
public class UserArticleParam {
    @NotBlank(message = "文章标题不能为空白")
    private String title;
    @Size(min = 10,max = 500,message = "文章长度10-500字")
    private String content;
}
